package com.sluggard.ai.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sluggard.mp.model.entity.StandardAuditEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * ai历史对话记录
 * </p>
 *
 * @author lizheng
 * @since 2025-04-23
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ai_system_config")
@Schema(name = "SystemConfigEntity", description = "ai历史对话记录")
public class SystemConfigEntity extends StandardAuditEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "配置名称")
    @TableField("name")
    private String name;

    @Schema(description = "系统设置编码")
    @TableField("code")
    private String code;

    @Schema(description = "系统设置值")
    @TableField("value")
    private String value;

    @Schema(description = "状态 0 禁用 1 启用")
    @TableField("status")
    private Integer status;

    @TableField("column_name")
    private Integer columnName;
}
